package com.exoweb.games.hexagone.view
{
    import flash.display.*;
    import flash.events.*;

    public class Introduction extends Sprite
    {
        public function Introduction()
        {
            addEventListener(Event.ENTER_FRAME, update);
            display();
        }

        public function display():void
        {
            graphics.beginFill(0x00FF00);
            graphics.drawRect(0, 0, 640, 480);
            graphics.endFill();
        }

        public function update(e:Event):void
        {
            display();
        }
    }
}
